<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
</html>
<!DOCTYPE html>
<html>
	<head>
		<style type="text/css">
		</style>
		<!-- 引入vue -->
		<script src="https://cdn.bootcss.com/vue/2.6.10/vue.min.js"></script>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
		</div>

		<script type="text/javascript">
			var vm = new Vue({
				el: "#app",
				data: {
					num1: 0,
					num2: 0, 
					result: 0
				},
				methods: {
					doAdd: function(e) {
						...
					},
					doSub: function(e) {
						...
					},
					doDiv: function(e) {
						...
					},
				}
			});
		</script>
	</body>
</html>
